﻿using Domain.Context;
using IRepository.UnitOfWork;

namespace Repository.UnitOfWork
{
    public class UnitOfWork : IUnitOfWork
    {
        private readonly RepositoryContext repositoryContext;

        public UnitOfWork(RepositoryContext repositoryContext)
        {
            this.repositoryContext = repositoryContext;
        }

        public RepositoryContext GetRepositoryContext()
        {
            return this.repositoryContext;
        }
    }
}
